# -------------------------------------------------
# Project created by QtCreator 2010-10-17T17:30:16
# -------------------------------------------------
QT += core \
    gui \
    network
CONFIG += mobility \
    inapppurchase \
    debug

TARGET = Game
TEMPLATE = app
VERSION = 0.1.2
SOURCES += productinfo.cpp \
    buycatalog.cpp \
    main.cpp \
    mainwindow.cpp \
    drmfile.cpp
HEADERS += productinfo.h \
    buycatalog.h \
    mainwindow.h \
    drmfile.h
FORMS += productinfo.ui \
    buycatalog.ui \
    TryAndBuyExample.ui

symbian: { 
    TARGET.UID3 = 0xee774112
    ICON = icon.svg
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 \
        0x800000
    DEPENDPATH += ./Symbian
    SOURCES += Symbian/drmfile_p.cpp
    HEADERS += Symbian/drmfile_p.h
    LIBS += -lcaf \
        -lcafutils \
        -lapmime

    # capabilities required for IAP API
    TARGET.CAPABILITY += NetworkServices 

    # IAP configuration
    addConfigFiles.sources = ./unlocked_data/IAP_VARIANTID.txt #./data/TEST_MODE.txt
    addConfigFiles.path = .
    DEPLOYMENT += addConfigFiles

    addDrm.sources = ./data
    addDrm.path = ./drm
    DEPLOYMENT += addDrm

    addUnlocked.sources = ./unlocked_data/unlocked_resources
    addUnlocked.path = .
    DEPLOYMENT += addUnlocked

    debug: { 
        MMP_RULES -= "PAGED"
        MMP_RULES += "UNPAGED"
    }
}
